package main

import (
	"time"
	"fmt"
)

func main(){

	now1 := time.Now().Unix()
	fmt.Println(now1)
	formatTimeStr1:=time.Unix(now1,0).Format("2006-01-02 15:04:05") 
	fmt.Println(formatTimeStr1)
	time.Sleep(1*time.Second)

	now2 := time.Now().Unix()
	fmt.Println(now2)
	formatTimeStr2:=time.Unix(now2,0).Format("2006-01-02 15:04:05")
	fmt.Println(formatTimeStr2)

	fmt.Println(now2-now1)

	var test int64
	fmt.Println(test)

}